< previous page page_299 next page >

Page 299
Your Own Record Movement Buttons
Instead of using the data control to move forward and backward through the recordset, some programmers like to create their own command buttons, or maybe even menu items, to perform this movement. You can accomplish this quite easily. The first step is to make the data control invisible and then add your own command buttons with the appropriate graphics. See Figure 14.8 for an example of what these command buttons might look like.
8160-0299a.gif
Figure 14.8
Record movement command buttons.
Examples Filename: Movement.frm
Making the Data Control Invisible
Because youre performing all the record movement yourself, you can set the Visible property of the Employee data control to False. The control remains visible in design mode but does not display when you run the application.
EXERCISE
Hide the Data Control
1. Click once on the data control to give it focus.
2. Set the Visible property to False.
3. Now move the data control off to one side of the form.
analysis.gifOnce the data control is hidden you can now control the movement through the records yourself.

 
< previous page page_299 next page >

If you like this book, buy it!